package message

type SrvMsgBase struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
}

type SrvMsgLogin struct {
	SrvMsgBase
	Friends []User
	User    User `json:"user"`
}

type SrvMsgRegister struct {
	SrvMsgBase
	User User `json:"user"`
}

type SrvMsgNotifyUserStatus struct {
	UserId     int `json:"userId"`
	UserStatus int `json:"userStatus"`
}
type SrvMsgNotifyNewFriend struct {
	UserId   int    `json:"userId"`
	UserName string `json:"userName"`
}
